<template>
  <div class="home">
    
    <li v-for="item in arr">{{ item }}</li>
        我的conut的数值是：{{ count }} <br>
        <button @click="getCount">点击我对count++</button>
    
  </div>
</template>

<script>


export default {

  data(){ 
    return{ 
      arr: ["春天", "夏天", "秋天", "冬天"],
       count:0
    }
  },
  methods: {
    getCount() { 
      this.count++
    }
  }
}
</script>
